//
//  ChooseServerTypeCollectionReusableView.m
//  PYWGetColor
//
//  Created by 杜文杰 on 2018/6/13.
//  Copyright © 2018年 dwj. All rights reserved.
//

#import "ChooseServerTypeCollectionReusableView.h"
@interface ChooseServerTypeCollectionReusableView()

@end

@implementation ChooseServerTypeCollectionReusableView
- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        UILabel *titleLabel = [[UILabel alloc]init];
        titleLabel.backgroundColor = [UIColor clearColor];
        titleLabel.textColor = [UIColor redColor];
        titleLabel.font = DEF_FontSize_14;
        titleLabel.textAlignment = NSTextAlignmentLeft;
        titleLabel.text = @"家电清洁";
        self.titleLabel = titleLabel;
        [self addSubview:titleLabel];
        __weak typeof(self)weakself = self;
        [titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.centerY.equalTo(weakself.mas_centerY);
            make.left.equalTo(weakself.mas_left);
            make.width.mas_equalTo(200 / WIDTH_6S_SCALE);
            make.height.mas_equalTo(20 / HEIGHT_6S_SCALE);
        }];
    }
    return self;
}
@end
